<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/11/5
  Time: 20:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="${pageContext.request.contextPath}/js/jquery-1.9.1.min.js"></script>
</head>

<body>
<script>
    function test(){
        $.ajax({
            "url":"${pageContext.request.contextPath}/showjson",
            type:"POST",
            "success":function(data){
                alert(data);
            }
        });
    }

</script>

</body>
</html>
